package com.intelligencesoft.pss.tencent.weibo.utils;

import java.util.Properties;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

@Component
public class TencentWeiboConfig {
	@Autowired
	@Qualifier("configProperties")
	private Properties properties;
	
	public String getValue(String key){
		return properties.getProperty(key);
	}
	public void updateProperties(String key,String value) {
		properties.setProperty(key, value); 
	}
}
